package com.jinshan.gaietymall.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jinshan.gaietymall.entity.TRole;
import com.jinshan.gaietymall.entity.request.role.TRoleIdReqVO;
import com.jinshan.gaietymall.entity.request.role.TRoleInsertReqVO;
import com.jinshan.gaietymall.entity.request.role.TRoleQueryVO;
import com.jinshan.gaietymall.entity.response.role.TRoleRep;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author liujinshan
 * @since 2020-04-15
 */
public interface ITRoleService extends IService<TRole> {

    /**
      * @description 分页查询
      * @author liujinshan
      * @date 2020/4/24 15:25
      */
    IPage<TRoleRep> getPage(TRoleQueryVO tRoleQueryVO);
    /**
      * @description  根据id查询详情
      * @author liujinshan
      * param id
      * @date 2020/4/27 18:56
      */
    TRoleRep getById(TRoleIdReqVO tRoleIdReqVO);

    /**
      * @description  新增
      * @author liujinshan
      * param tRoleInsertReqVO
      * @date 2020/4/29 13:46
      */
    void add(TRoleInsertReqVO tRoleInsertReqVO);
}
